--init.lua
--uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1)
print("\r\n******this is the init.lua - by liuke******\r\n")

for i=0,6 do
    tmr.stop(i)
end

System_led = 4
gpio.mode(System_led, gpio.OUTPUT)
for i=1, 3, 1 do
    gpio.write(System_led, gpio.LOW)
    tmr.delay(100000)
    gpio.write(System_led, gpio.HIGH)
    tmr.delay(200000)
end

dofile('WiFiManager.lua')
dofile("NtpSet.lua")
